import { QueryRuleOperator, OperatorTypes } from "./properties-query.model";



export const operatorsForString: QueryRuleOperator[] = [
    { lable: '等于', value: OperatorTypes.equal },
    { lable: '不等于', value: OperatorTypes.unequal },
    { lable: '包含', value: OperatorTypes.contain },
    { lable: '大于', value: OperatorTypes.greaterThan },
    { lable: '小于', value: OperatorTypes.lessThan },
    { lable: '为空', value: OperatorTypes.empty },
    { lable: '不为空', value: OperatorTypes.unEmpty }
]

export const operatorsForNumber: QueryRuleOperator[] = [
    { lable: '等于', value: OperatorTypes.equal },
    { lable: '不等于', value: OperatorTypes.unequal },
    { lable: '大于 或 等于', value: OperatorTypes.greaterThanOrEqual },
    { lable: '大于', value: OperatorTypes.greaterThan },
    { lable: '小于 或 等于', value: OperatorTypes.lessThanOrEqual },
    { lable: '小于', value: OperatorTypes.lessThan },
    { lable: '为空', value: OperatorTypes.empty },
    { lable: '不为空', value: OperatorTypes.unEmpty }
]